<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
  export default {
    name: 'my-electron',
    data () {
      return {
      }
    },
    created () {
      this.routerNavGuards()
    },
    methods: {
      routerNavGuards () {
        this.$router.beforeEach((to, from, next) => {
          console.log('$to', to.name)
          next()
        })
      }
    }
  }
</script>

<style lang="stylus">
@import '~@/assets/styl/app.styl'
@import '~@/assets/vivify/vivify.css'
@import '~@/assets/font/alifont.css'
</style>


